-
Home
-
Shield: Blocks Bots, Protects Users, and Prevents Security Breaches
-
13.0.3
-
Code
-
Classes
- ApiTokenManager
| Total Complexity |
28 |
| Dependencies |
4 |
| Dependents |
1 |
| Total lines |
160 |
| Lines of code |
97 |
| Logical lines of code |
42 |
| Comment lines |
38 |
| Methods |
14 |
| Properties |
1 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| getToken() |
S |
55 |
6 |
20 |
| solicitApiToken() |
S |
58 |
5 |
15 |
| run() |
S |
61 |
3 |
14 |
| canRequestNewToken() |
S |
69 |
3 |
7 |
| hasToken() |
S |
78 |
2 |
3 |
| loadToken() |
S |
62 |
1 |
12 |
| getCanRequestOverride() |
S |
82 |
1 |
3 |
| getExpiresAt() |
S |
80 |
1 |
3 |
| getNextAttemptAllowedFrom() |
S |
80 |
1 |
3 |
| getPreviousAttemptAt() |
S |
80 |
1 |
3 |
| isExpired() |
S |
80 |
1 |
3 |
| isNearlyExpired() |
S |
79 |
1 |
3 |
| storeToken() |
S |
76 |
1 |
4 |
| setCanRequestOverride() |
S |
77 |
1 |
4 |